﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("EQUIPMENT")]
    public class Equipment
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "EQUIP_ID", IsPrimaryKey = true)]
        public decimal EquipId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PLANT_ID")]
        public decimal PlantId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UNIT_ID")]
        public decimal UnitId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "EQUIP_NAME")]
        public string EquipName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "EQUIP_DESC")]
        public string EquipDesc { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AREA_ID")]
        public decimal? AreaId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "EQUIP_TYPE_ID")]
        public decimal? EquipTypeId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_EQ_MATERIAL")]
        public string PdEqMaterial { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_SOURCE_BANK")]
        public string PdSourceBank { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_FLUID_NAME")]
        public string PdUpFluidName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_DENS_AT_FLOW")]
        public decimal? PdUpDensAtFlow { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_DENS_AT_FLOW_UID")]
        public string PdUpDensAtFlowUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_VISC_AT_FLOW")]
        public decimal? PdUpViscAtFlow { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_VISC_AT_FLOW_UID")]
        public string PdUpViscAtFlowUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_BOIL_PNT_UP")]
        public decimal? PdBoilPntUp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_BOIL_PNT_UP_UID")]
        public string PdBoilPntUpUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_BOIL_PNT_LOW")]
        public decimal? PdBoilPntLow { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_BOIL_PNT_LOW_UID")]
        public string PdBoilPntLowUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_POUR_PNT_UP")]
        public decimal? PdPourPntUp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_POUR_PNT_UP_UID")]
        public string PdPourPntUpUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_POUR_PNT_LOW")]
        public decimal? PdPourPntLow { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_POUR_PNT_LOW_UID")]
        public string PdPourPntLowUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_LEVEL_NOR")]
        public decimal? PdLevelNor { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_LEVEL_NOR_UID")]
        public string PdLevelNorUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_REFERENCE")]
        public string PdReference { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_ABOVE_REF")]
        public string PdAboveRef { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_E_CORROSIVE_UP")]
        public string PdECorrosiveUp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_E_EROSIVE_UP")]
        public string PdEErosiveUp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_E_TOXIC_UP")]
        public string PdEToxicUp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_FLD_GRP")]
        public string PdUpFldGrp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_LOW_FLD_GRP")]
        public string PdLowFldGrp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_DENS_BASE")]
        public decimal? PdUpDensBase { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_UP_DENS_BASE_UID")]
        public string PdUpDensBaseUid { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_CHEMIC_ABS_UP")]
        public string PdChemicAbsUp { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_CHEMIC_ABS_LOW")]
        public string PdChemicAbsLow { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_PID_NUM")]
        public string PdPidNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REV_ID")]
        public decimal? RevId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_PROJ_ID")]
        public decimal? EngProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_REF_ID")]
        public decimal? EngRefId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_TOTALPLANT")]
        public string KksTotalplant { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_FUNCTION_KEY_PREFIX")]
        public string KksFunctionKeyPrefix { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_FUNCTION_KEY")]
        public string KksFunctionKey { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_FUNCTION_KEY_SEQUENCE")]
        public string KksFunctionKeySequence { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_EQUIPMENT_UNIT_CODE")]
        public string KksEquipmentUnitCode { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_EQUIPMENT_UNIT_SEQUENCE")]
        public string KksEquipmentUnitSequence { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_EQUIPMENT_UNIT_ADD_CODE")]
        public string KksEquipmentUnitAddCode { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_COMPONENT_KEY")]
        public string KksComponentKey { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_COMPONENT_KEY_SEQUENCE")]
        public string KksComponentKeySequence { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MERGE_RELEASE_FLG")]
        public string MergeReleaseFlg { get; set; }
    }
}
